/* stylelint-disable */
@import '~choerodon-ui/lib/style/themes/default';

.c7ncd-projectUser {
  &-listPage {
    background: white;
    padding: 12px;
    .c7n-pro-table-cell-multiple-block {
      background-color: unset !important;
    }
    .realName-column {
      display: flex;
      justify-content: flex-start;
      .realName {
        margin-right: 6px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowarp;
      }
    }
  }
}

.project-user {
  .c7n-pro-output-multiple-block {
    background: rgba(15, 19, 88, 0.06);
    border-radius: 5px;
    color: #0f1358;
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
  }
  margin: 0 !important;
  background: #f5f6fa !important;
  .c7n-pro-table-tbody .c7n-pro-table-cell:first-child {
    .c7n-pro-table-cell-inner {
      overflow: inherit;
    }
  }
  .link {
    color: @primary-color;
    cursor: pointer;
    &:hover {
      color: @primary-color;
      text-decoration: underline;
    }
  }
  .text-gray {
    color: rgba(0, 0, 0, 0.65);
  }
  &-roles {
    .@{c7n-pro-prefix}-output-multiple-block {
      background: rgba(0, 0, 0, 0.08);
      border-radius: .1rem;
      font-size: 0.12rem;
      color: #000;
      line-height: 0.2rem;
      &.disable {
        color: rgba(0, 0, 0, 0.36) !important;
      }
    }
  }
  &-external-user {
    background: #f0f5ff;
    border-radius: 4px;
    border: 1px solid #adc6ff;
    display: inline-block;
    font-size: 10px;
    color: #4d90fe;
    text-align: left;
    line-height: 18px;
    margin-left: 6px;
    background: #E6F7FF;
    border-radius: 4px;
    border: 1px solid #91D5FF;
    &-text {
      display: inline-block;
      transform: scale(0.84);
      font-size: 10px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #4D90FE;
    }
  }
}

.table-align-center {
  .c7n-pro-table-cell-inner {
    display: flex;
    align-items: center;
  }
}

.c7ncd-status-tag > span {
  transform: scale(0.9);
}